package cn.oms.oms.service;

import cn.oms.oms.entity.Admission;
import cn.oms.oms.vo.AdmissionVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-29
 */
public interface IAdmissionService extends IService<Admission> {

    /**
     * 查询入院登记列表
     * @param admissionVo
     * @return
     */
    PageInfo<Admission> selectAdmissionList(AdmissionVo admissionVo);

    /**
     * 根据入院号查详情
     * @param admissionVo
     * @return
     */
    Admission selectAdmissionDetail(AdmissionVo admissionVo);

    /**
     * 新增入院登记
     * @param admissionVo
     * @return
     */
    String addAdmission(AdmissionVo admissionVo);

    /**
     * 修改入院登记
     * @param admissionVo
     * @return
     */
    String updateAdmission(AdmissionVo admissionVo);

    /**
     * 删除入院登记
     * @param id
     * @return
     */
    String deleteAdmission(Integer id);

}
